<template>
	<view>
		<view class="cu-load load-modal" v-if="loadModal">
			<view class="cuIcon-emojifill text-orange" v-if="imageUrl == ''"></view>
			<image :src="imageUrl" mode="aspectFit" v-if="imageUrl != ''"></image>
			<view class="gray-text">{{msg}}</view>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},
	name: 'v-loading',
	props:{
		imageUrl:{
			type: String,
			default: ''
		},
		loadModal:{
			type: Boolean,
			default: false
		},
		msg:{
			type: String,
			default: "加载中..."
		}
	},
	methods: {}
};
</script>

<style>
</style>
